text/template/parse.item.val (field)

27 uses

	text/template/parse (current package)
		lex.go#L18: 	val  string   // The value of this item.
		lex.go#L27: 		return i.val
		lex.go#L29: 		return fmt.Sprintf("<%s>", i.val)
		lex.go#L30: 	case len(i.val) > 10:
		lex.go#L31: 		return fmt.Sprintf("%.10q...", i.val)
		lex.go#L33: 	return fmt.Sprintf("%q", i.val)
		lex.go#L285: 			if len(i.val) > 0 {
		parse.go#L213: 			if strings.HasSuffix(token.val, " action") {
		parse.go#L359: 	t.Name, err = strconv.Unquote(name.val)
		parse.go#L398: 		return t.newText(token.pos, token.val)
		parse.go#L404: 		return t.newComment(token.pos, token.val)
		parse.go#L499: 			pipe.Decl = append(pipe.Decl, t.newVariable(v.pos, v.val))
		parse.go#L500: 			t.vars = append(t.vars, v.val)
		parse.go#L501: 		case next.typ == itemChar && next.val == ",":
		parse.go#L503: 			pipe.Decl = append(pipe.Decl, t.newVariable(v.pos, v.val))
		parse.go#L504: 			t.vars = append(t.vars, v.val)
		parse.go#L705: 		s, err := strconv.Unquote(token.val)
		parse.go#L763: 			chain.Add(t.next().val)
		parse.go#L799: 		if checkFunc && !t.hasFunction(token.val) {
		parse.go#L800: 			t.errorf("function %q not defined", token.val)
		parse.go#L802: 		return NewIdentifier(token.val).SetTree(t).SetPos(token.pos)
		parse.go#L808: 		return t.useVar(token.pos, token.val)
		parse.go#L810: 		return t.newField(token.pos, token.val)
		parse.go#L812: 		return t.newBool(token.pos, token.val == "true")
		parse.go#L814: 		number, err := t.newNumber(token.pos, token.val, token.typ)
		parse.go#L827: 		s, err := strconv.Unquote(token.val)
		parse.go#L831: 		return t.newString(token.pos, token.val, s)